<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
<title>Insert title here</title>

<link rel="stylesheet" href="<%=basePath %>js/jquery/jquery-ui.css">
<script src="<%=basePath %>js/jquery/jquery-1.9.1.js"></script>
<script src="<%=basePath %>js/jquery/jquery-ui.js"></script>

<script>
$(function() {
  $( "#draggable" ).draggable();
});
</script>

</head>
<body>

<div id="draggable" class="ui-widget-content">
  <p>请拖动我！</p>
</div>

</body>
</html>